package com.hpdz.hotel_back.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hpdz.hotel_back.entity.Order;

import java.util.List;

public interface OrderService extends IService<Order> {
    Boolean change(List<Integer> orders, String cancel);

    IPage<Order> listAllOrder(Integer current, Integer size);

    IPage<Order> findByState(Integer current, Integer size, Order order);

}
